package client.control;

import javafx.fxml.FXML;
import javafx.scene.text.Text;
import javafx.scene.control.ComboBox;
import javafx.scene.control.ListView;
import javafx.collections.ObservableList;
import javafx.scene.control.Label;
import client.client;

public class ClientController {
	@FXML Label name;
	@FXML ListView<String> users;
	@FXML ComboBox cb;

	client c;
	public void setC(client c){
		this.c = c;
	}

	public void setItems(ObservableList<String> list){
		users.setItems(list);
	}

	public void setName(String username){
		name.setText(username);
	}
}